<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>事件监听测试</title>
</head>
<body>
    <!-- 鼠标单击事件 
        onclick
        onblur失去焦点
        onfocus获得焦点
        onload完成加载
        onsubmit标点提交
        mouseout 移开
    
    -->
    <input type="button" id="bt1" value="事件绑定1" onclick="on()"> <!-- 通过标签属性 -->
    <input type="button" id="bt2" value="事件绑定2">
</body>

<script src="./demo10_listener.js"></script>

</html>